home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / IFC_112 / netscape / application / HTMLElement.java < prev    next >
Encoding:
Text File  |  1999-05-28  |  913 b   |  32 lines  |  [TEXT/CWIE]

  1. // HTMLElement.java
  2. // Copyright 1996, 1997 Netscape Communications Corp. All rights reserved.
  3. //
  4. //
  5.  
  6. package netscape.application;
  7.  
  8.  
  9. /** An interface that describes what should implement an object to store
  10.   * an HTML element.
  11.   * @private
  12.   */
  13. public interface HTMLElement {
  14.     /* This method is called with the marker in argument if appropriate. */
  15.     public void setMarker(String aString);
  16.  
  17.     /* This method is called with the attributes in argument if appropriate */
  18.     public void setAttributes(String attributes);
  19.  
  20.     /* This method is called with the string in argument if
  21.      * the HTML element is a String
  22.      */
  23.     public void setString(String aString);
  24.  
  25.     /* This method is called if the HTMLElement is a container.
  26.      * child[] contains some other HTML elements.
  27.      * null is sent to this method if the container has no children
  28.      */
  29.     public void setChildren(Object child[]);
  30. }
  31.  
  32.